/*
 * @Author: GL
 * @Date: 2023-04-09 00:37:47
 * @LastEditors: GL
 * @LastEditTime: 2023-04-26 02:17:08
 * @Description: desc
 */
const express = require('express')

const orderData = require('../router_handler/order')
// 创建路由实例
const router = express.Router()
// 获取信息联系列表
router.post('/conlist',orderData.orderList)
// 待联系商品信息
router.post('/addgoods',orderData.addOrder)
// 状态变更
router.post('/removegoods',orderData.removeOrder)
// 订单删除
router.post('/delorder',orderData.delOrder)

/**
 * 管理用户订单信息
 */
router.post('/userlist',orderData.userOrderList)

module.exports = router
